import { Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import { BrowserRouter } from 'react-router-dom'
import '@babel/polyfill'

createRoot(document.getElementById('root')!).render(
  <Suspense fallback={<div>路由加载中。。。。。。</div>}>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </Suspense>
)
